<?php

class Recursos_Model_Permissao extends Mylibrary_Mymodel_Base
{

	protected $_id;
	protected $_id_perfil;
	protected $_id_recurso;
	protected $_permissao;
	protected $_recurso;
	
	public function setId($id) {
		$this->_id = ( int ) $id;
		return $this;
	}
	public function getId() {
		return $this->_id;
	}
	
	public function setId_perfil($id) {
		$this->_id_perfil = ( int ) $id;
		return $this;
	}
	public function getId_perfil() {
		return $this->_id_perfil;
	}
	public function setId_recurso($id) {
		$this->_id_recurso = ( int ) $id;
		return $this;
	}
	public function getId_recurso() {
		return $this->_id_recurso;
	}
	// ------------------------------#
	public function setPermissao($text) {
		$this->_permissao = ( string ) $text;
		return $this;
	}
	public function getPermissao() {
		return $this->_permissao;
	}
	
	public function setRecurso($text) {
		$this->_recurso = ( string ) $text;
		return $this;
	}
	public function getRecurso() {
		return $this->_recurso;
	}
}

